@import 'reset.css';
@import 'normalize.css';
//@import 'fonts';
@import 'typography';
@import 'variables';

* {
  box-sizing: border-box;
  scroll-margin-top: 126px;
  text-rendering: optimizeLegibility;
  -webkit-font-feature-settings: 'kern' 1;
}

svg {
  -webkit-mask-size: contain;
  mask-size: contain;
}

img,
button {
  user-select: none;
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  margin-right: calc(-1 * (100vw - 100%));
  //font-family: Rubik, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

@media (pointer: coarse) {
  body {
    margin-right: 0;
    padding-right: 0 !important;
  }
}

#__next {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.button-styles-none {
  background-color: transparent;
  border: none;
  padding: 0;
  line-height: 0;
}

.header,
.footer {
  width: 100%;
  padding: 17px 32px;
  transition: $transition-disappear;
}

.header {
  max-height: 90px;
}

@include media(sm) {
  * {
    scroll-margin-top: 90px;
  }

  .hide-less-sm {
    display: none;
  }
  .header,
  .footer {
    padding: 14px 16px;
  }
}

@include media-min(xs) {
  .hide-greater-xs {
    display: none;
  }

  .hidden_desktop,
  .hidden_desktop * {
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    transition: $transition-disappear;
    overflow: hidden !important;
  }
}

@include media(xs) {
  .header,
  .footer {
    padding: 14px 16px;
  }
  .header {
    max-height: 68px;
    padding-bottom: 13px;
  }

  .hide-less-xs {
    display: none;
  }

  .hidden_mobile,
  .hidden_mobile * {
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    transition: $transition-disappear;
    overflow: hidden !important;
  }
}

.slick-active button:before {
  color: #337cec !important;
}

.slick-slide {
  height: inherit !important;
}

.slick-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hidden,
.hidden * {
  max-height: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  transition: $transition-disappear;
  overflow: hidden !important;
}
